﻿package main 
{
	import flash.display.Sprite;
	import flash.events.Event;
	
	/**
	 * ...
	 * @author ...
	 */
	public class Wind {
		
		public function Wind() {
			sprite = new Sprite();
			sprite.graphics.beginFill(0x111111);
			sprite.graphics.drawCircle(0, 0, 5);
			sprite.graphics.drawRect( -1, -50, 2, 50);
			sprite.graphics.endFill();
			sprite.graphics.beginFill(0x111111);
			sprite.graphics.moveTo(0, -50);
			sprite.graphics.lineTo(3, -45);
			sprite.graphics.lineTo(-3, -45);
			sprite.graphics.lineTo(0, -50);
			sprite.graphics.endFill();
		}

		private var angle:Number;
		/** in degree */
		public function getAngle():Number {
			return angle;
		}
		/** in degree */
		public function setAngle(angle:Number):void {
			this.angle = angle;
		}
		
		private var strength:Number;
		public function getStrength():Number {
			return strength;
		}
		
		private var sprite:Sprite;
		public function getSprite():Sprite {
			return sprite;
		}
	}
}
